package com.ddl.pojo;

import java.math.BigDecimal;

/**
 * @author dudianbo
 * @ClassName: ${CLASSNAME}
 * @Description: 交易基础类
 * @date 2018/4/23
 */
public class Transaction {
    /**
     * 流水号
     */
    private String orderId;
    /**
     * 流水号
     */
    private String frozenOrderId;
    /**
     * 账号
     */
    private String accountNo;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 账户类型
     */
    private Integer accountType;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 备注
     */
    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getFrozenOrderId() {
        return frozenOrderId;
    }

    public void setFrozenOrderId(String frozenOrderId) {
        this.frozenOrderId = frozenOrderId;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    @Override
    public String toString() {
        return "Transaction{" + "orderId='" + orderId + '\'' + ", frozenOrderId='" + frozenOrderId + '\'' + ", accountNo='" + accountNo + '\'' + ", userId='" + userId + '\'' + ", accountType=" + accountType + ", amount=" + amount + '}';
    }
}
